package com.usian.controller;

import com.usian.designer.HomePage;
import com.usian.designer.vo.HomePageVO;
import com.usian.service.HomePageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/app/users/homepage")
public class HomePageController {

    @Autowired
    private HomePageService homePageService;

    @RequestMapping("/findAll")
    public List<HomePage> findAll(HomePageVO homePageVO){
        return homePageService.findAll(homePageVO);
    }



}
